<div class="content-primary">
	<nav>		
		<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="h">
			<li data-role="list-divider">Operations for <%= @computer.name %></li>
			<% if @operations.size > 0 %>
				<% @operations.each do |operation| %>
			    	<li>
			    		<p>
						  <b>Name:</b>
						  <%=h operation.name %>
						</p>
						<p>
						  <b>Description:</b>
						  <%=h operation.description %>
						</p>
						<p>
						  <b>Start date:</b>
						  <%=h operation.start_date %>
						  &nbsp;&nbsp;
						  <b>End date:</b>
						  <%=h operation.end_date %>
						</p>
						<p>
						  <b>Status:</b>
						  <%=h Operation::OPERATION_STATUS[operation.status] %>
						</p>
			    	</li>
				<%end%>
			<% else %>
				<li>No operation</li>
			<% end %>
		</ul>
	</nav>
</div>

